home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / mongol_fiere.swf / scripts / frame_9 / DoAction.as < prev   
Text File  |  2007-01-15  |  1KB  |  61 lines

  1. function addToslot(item)
  2. {
  3.    item._x = eval("itemSlot" + currentslotnum)._x;
  4.    item._y = eval("itemSlot" + currentslotnum)._y;
  5.    tellTarget("itemSlot" + currentslotnum)
  6.    {
  7.       gotoAndStop(2);
  8.    }
  9.    currentslotnum++;
  10. }
  11. function felBallong()
  12. {
  13.    tellTarget("/blueboy2/hero/ball" + ballongnum)
  14.    {
  15.       play();
  16.    }
  17.    ballongnum++;
  18. }
  19. function addToerror()
  20. {
  21.    if(_root.VAREX != _root.b1)
  22.    {
  23.       if(_root.VAREX != _root.b2)
  24.       {
  25.          if(_root.VAREX != _root.b3)
  26.          {
  27.             if(_root.VAREX != _root.b4)
  28.             {
  29.                if(_root.VAREX != _root.b5)
  30.                {
  31.                   if(_root.VAREX != _root.b6)
  32.                   {
  33.                      if(_root.VAREX != _root.b7)
  34.                      {
  35.                         if(_root.VAREX != _root.b8)
  36.                         {
  37.                            tellTarget("/error")
  38.                            {
  39.                               nextFrame();
  40.                            }
  41.                            tellTarget("/errorljud")
  42.                            {
  43.                               play();
  44.                            }
  45.                         }
  46.                      }
  47.                   }
  48.                }
  49.             }
  50.          }
  51.       }
  52.    }
  53. }
  54. _root.loaded = false;
  55. currentslotnum = 1;
  56. hide = false;
  57. ballongnum = 1;
  58. _root.death = false;
  59. _root.jump = 10;
  60. stop();
  61.